<?php echo form_open(uri_string(), 'id="edit_profile" class="crud ajaxform"') ?>

<fieldset style="margin-bottom: 0">
    <ol>
        <li>
            <label>Ad</label>
            <input type="text" name="firstname" value="<?php echo $user->firstname ?>" />
        </li>

        <li>
            <label>Soyad</label>
            <input type="text" name="lastname" value="<?php echo $user->lastname ?>" />
        </li>

        <li>
            <label>Şirket</label>
            <input type="text" name="company" value="<?php echo $user->company ?>" />
        </li>

        <li>
            <label>Doğum Tarihiniz</label>
            <input type="text" name="birthday" id="birthday" value="<?php echo $user->birthday ?>" />
        </li>

        <li>
            <label>Cinsiyetiniz</label>
            <?php echo form_dropdown('gender', config_item('genders'), $user->gender) ?>
        </li>

        <li>
            <label>Telefon</label>
            <input type="text" name="telephone" id="phone" value="<?php echo $user->telephone ?>" />
        </li>

        <li>
            <label>Adres</label>
            <textarea name="address" rows="6" cols="60"><?php echo $user->address ?></textarea>
        </li>

        <li>
            <label>İl/İlçe</label>
            <input type="text" name="city" value="<?php echo $user->city ?>" style="width: 120px" /> / <input type="text" name="town" value="<?php echo $user->town ?>" style="width: 120px" />
        </li>		

        <li>
            <label></label>
            <input type="submit" value="Kaydet!" />
        </li>
    </ol>
</fieldset>

<?php echo form_close() ?>